﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace V5_Model {
    [Serializable]
    public class ModelArticle {
        #region Model
        private int _id;
        private int? _channelid;
        private string _title;
        private string _keywords;
        private int? _classid;
        private string _copyfrom;
        private string _author;
        private string _editor;
        private string _content;
        private string _shortcontent;
        private int? _isurl;
        private string _linkurl;
        private string _defaultpicurl;
        private int? _hits;
        private string _cutomfield;
        private int? _passed;
        private DateTime? _adddatetime;
        private DateTime? _updatetime;
        /// <summary>
        /// 
        /// </summary>
        public int ID {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ChannelID {
            set { _channelid = value; }
            get { return _channelid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Title {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string KeyWords {
            set { _keywords = value; }
            get { return _keywords; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ClassID {
            set { _classid = value; }
            get { return _classid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CopyFrom {
            set { _copyfrom = value; }
            get { return _copyfrom; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Author {
            set { _author = value; }
            get { return _author; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Editor {
            set { _editor = value; }
            get { return _editor; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Content {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ShortContent {
            set { _shortcontent = value; }
            get { return _shortcontent; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? IsUrl {
            set { _isurl = value; }
            get { return _isurl; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string LinkUrl {
            set { _linkurl = value; }
            get { return _linkurl; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string DefaultPicUrl {
            set { _defaultpicurl = value; }
            get { return _defaultpicurl; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Hits {
            set { _hits = value; }
            get { return _hits; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CutomField {
            set { _cutomfield = value; }
            get { return _cutomfield; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Passed {
            set { _passed = value; }
            get { return _passed; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? AddDateTime {
            set { _adddatetime = value; }
            get { return _adddatetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? UpDateTime {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        #endregion Model

    }
}
